package com.stars.common.annotation;

import java.lang.annotation.*;

/**
 * Created by luodajie on 2019/10/15.
 * //@dict(  dictCode="patType", dictSource = "patType" )
 */
@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface Dict {
    /**
     * 字典查询表
     * @return
     */
    String dictTable() default "";

    /**
     * 字典查询表ID
     * @return
     */
    String dictCode() default "";
    /**
     * 方法描述 描述标准编码
     * @return
     */
    String dictName() default "";

    /**
     * 数据源
     * @return
     */
    String dictSource() default "";


}
